package game.utils {
  
  
  public class ColorConstant {
    
    //颜色类
    public static const BAI_NAME:String="bai";
    public static const HONG_NAME:String="hong";
    public static const HUANG_NAME:String="huang";
    public static const SHENLAN_NAME:String="shenlan";
    
    public static const HONG:String = '#FF0000'
    public static const BAI:String = '#FFFFFF';
    public static const LU:String = '#00CC99';
    public static const LV:String='#37e452';      //亮绿
    public static const LV2:String='#3ee651'
    public static const LAN:String = '#0099FF';
    public static const ZI:String = '#FE00E9';
    public static const CHENG:String = '#FF9000';
    public static const JIN:String = '#FFFF00';
    public static const BIND:String = '#3be450';
    public static const HUANG:String = '#F7FE24';
    public static const HUANG2:String= '#fff2ba'; //黄色
		public static const DAN_ZI:String = '#cfbaff';	//淡紫
    public static const HUI:String='#8c8e8d';      //灰色
    public static const WENXING:String = '#3be450';		//温馨提示
    public static const ENEMY_TIP:String = '#880d81';		//仇人提示
    
		
		public static const TIP_WENXING:uint = 0x3be450;		//温馨提示
		public static const TIP_JINGGAO:uint = 0xf53f3c;		//警告
		public static const DISABLED:uint = 0x8d8d8d;				//不可点文字
		public static const TITLE:uint = 0xbafff6;					//标题
    public static const QIAN_LAN:uint = 0xb1e1ef;     //浅蓝
    public static const LIANG_LAN:uint = 0x55f1fe;     //亮蓝
    public static const LU_INT:uint = 0x3ce44f;            //绿色
    public static const JINSE:uint=0xebe12a;            //金色
    public static const JINSE2:uint=0xffde55;           //金色2 奖励字体
    public static const JINSE3:uint=0xffdc57;           //金色3 宗族详情
    public static const HUISE:uint=0x8c8e8d;            //灰色奖励字体
    public static const LVSE:uint=0xbaed84;             //绿色1
    public static const LV2SE:uint=0x37e452;             //绿色2 亮绿
    public static const LV3SE:uint=0xa7dc74;             //绿色3 亮绿
    public static const LV4SE:uint=0xa9d975;             //绿色4 浅绿
    public static const LV5SE:uint=0x3ee651;              //绿色5 提示名字
    public static const BAISE:uint=0xFFFFFF;              //白色
    public static const HUANG2SE:uint=0xfff2ba;              //黄色
    public static const ENEMY_TIP_SE:int = 0x880d81;		//仇人提示
 
    public static const HONG1_I:uint = 0xFF0000;
    public static const HONG1_S:String = "#FF0000";
    
    public static const GREY1_I:uint = 0xAAAAAA;
    public static const GREY1_S:String = "#AAAAAA";
    
    public static const LU1_I:uint = 0x3be450;
    public static const LU1_S:String = "#3be450";
    public static const LU2_I:uint = 0xB9EE82;
    public static const LU2_S:String = "#B9EE82";
    public static const LU3_I:uint = 0x3BE450;
    public static const LU3_S:String = "#3BE450";
    
    public static const LAN1_I:uint = 0x58F1FF;
    public static const LAN1_S:String = "#58F1FF";
    
    public static const HUANG1_I:uint = 0xFFDD55;
    public static const HUANG1_S:String = "#FFDD55";
    
    public static const HUANG3:String='#ffdd55';
    
    public static function getCorlor(type:int):String {
      switch(type) {
        case 1: return "#FFFFFF";
        case 2: return "#00CC99";
        case 3: return "#0099FF";
        case 4: return "#FE00E9";
        case 5: return "#FF9000";
        case 6: return "#FFD700";
        default: return "";
      }
    }
    
    
    private static const color1:String = 'fff2ba';
    private static const color2:String = 'abe1ec';
    private static const color3:String = 'b9ee82';
    private static const color4:String = 'ffdd55';
    private static const color5:String = 'cfbaff';
    private static const color6:String = '58f1ff';
    private static const color7:String = 'ffffff';
    private static const color8:String = '8d8d8d';
    private static const color9:String = 'BAFFF6';
    private static const color10:String = '3be450';
    private static const color11:String = 'F53F3C';
    private static const color12:String = '00FFEA';
    private static const color13:String = '880d81';
    private static const color14:String = '28e7ff';
    private static const color15:String = 'f540fd';
    private static const color16:String = '00fe9c';
    private static const color17:String = '9bff0b';
    private static const color18:String = 'FE0000';
    private static const color19:String = '00CC99';
    private static const color20:String = '0099FF';
    private static const color21:String = 'FE00E9';
    private static const color22:String = 'FF9000';
    private static const color23:String = 'FFD700';
    private static const color24:String = 'ffdd55';
    private static const color25:String = 'bde620'
    private static const color26:String = 'f53f3c';
    private static const color27:String = 'FF7E56';
    private static const color28:String = 'EC6CF8';//送花
    private static const color29:String = 'FFFF00';//中央广播
    private static const color30:String = 'BFE9A1';//按钮经过
	private static const color31:String = 'f4cc62';//tree的节点字的颜色
	private static const color32:String = 'ddc793';//按钮正常状态颜色
	private static const color33:String = 'f4e6c6';//按钮按下状态颜色
    
    public static function getColorInt(type:int):int
    {
      return int("0x" + ColorConstant["color" + type]);
    }      
    public static function getColorStr(type:int):String
    {
      return "#" + ColorConstant["color" + type];
    }       
    
    
    
    
  }
}